//
//  BannerModel.m
//  wtshoppingcite
//
//  Created by TW on 15-1-7.
//  Copyright (c) 2015年 TW. All rights reserved.
//

#import "BannerModel.h"

@implementation BannerModel

- (id)initWithBInfo:(NSDictionary *)info{
    
    if(self = [super init]){
        id imgPath = [info objectForKey:@"imgPath"];
        self.imgPath = ObjToString(imgPath);
        
        id contentUrl = [info objectForKey:@"contentUrl"];
        self.contentUrl = ObjToString(contentUrl);
        
        id noticeId = [info objectForKey:@"noticeId"];
        self.noticeId = ObjToString(noticeId);
        
        
        id content = [info objectForKey:@"content"];
        self.content = ObjToString(content);
        
    }
    return self;
}
@end
